package com.kky.pp.activity.location

import android.view.LayoutInflater
import android.widget.ImageView
import android.widget.TextView
import com.kky.pp.R
import com.custom.base.mvp.MVPBaseActivity
import com.gyf.immersionbar.ImmersionBar
import com.kky.pp.databinding.ActivityRequestLoactionBinding


class RequestLocationActivity : MVPBaseActivity<RequestLocationContract.View, RequestLocationPresenter,ActivityRequestLoactionBinding>(ActivityRequestLoactionBinding::inflate),
    RequestLocationContract.View {

    override fun setFullScreen(): Boolean {
        return true
    }
    override fun bindLayout(): Int {
        return R.layout.activity_request_loaction
    }


    override fun onBackPressed() {
        super.onBackPressed()
        mPresenter?.getIMToken()
    }

    override fun onResume() {
        super.onResume()
        ImmersionBar.with(mActivity).statusBarDarkFont(false).init()
    }
    override val txtRequestPositionContainers: TextView
        get() = viewBinding.txtRequestPositionContainer
    override val imgViewRequestPositionCloses: ImageView
        get() = viewBinding.imgViewRequestPositionClose

}